﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace Libraries.Entities
{
    [DataContract]
    public class CourseDetails
    {
        [DataMember]
        public int CourseId { get; set; }
        [DataMember]
        public string CourseName { get; set; }
        [DataMember]
        public int CourseCategoryId { get; set; }
        [DataMember]
        public string  CourseCategory { get; set; }
        [DataMember]
        public string CourseCategoryName { get; set; }
        [DataMember]
        public int? CourseYear { get; set; }
        [DataMember]
        public DateTime? StartDate { get; set; }
        [DataMember]
        public DateTime? EndDate { get; set; }
        [DataMember]
        public decimal? Costs { get; set; }
        [DataMember]
        public string Currency { get; set; }
        [DataMember]
        public int? TimeCommit { get; set; }
        [DataMember]
        public decimal? TrainedDuration { get; set; }
        [DataMember]
        public string  Note { get; set; }
        [DataMember]
        public int TotalRecord { get; set; }

        [DataMember]
        public virtual IList<CourseInfomation> CourseInfomations { get; set; }
        [DataMember]
        public virtual IList<CourseInstructor> CourseInstructors { get; set; }

        [DataMember]
        public virtual IList<CourseFeedBack> CourseFeedBacks { get; set; }
 
    }
}